package com.wisdomstar.common.core.page;

import lombok.Data;

import java.util.List;

/**
 * @Author: Long chao
 * @Date: Created in 2022/6/29 15:20
 * @Description: 分页
 * @Modified By:
 */
@Data
public class PaginationData<T> {

    /**
     * 列表数据
     */
    private List<T> list;

    private Pagination pagination;

    public PaginationData(List<T> list, Pagination pagination) {
        this.list = list;
        this.pagination = pagination;
    }
}
